package com.tyk.bookstore.back.platform.model.vo;

import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 系统设置
 */
@Data
@Schema(name = "SystemSettingPageVo", description = "系统设置")
public class SystemSettingPageVo extends PageVo<SystemSettingPageVo.SystemSetting> {

    @Data
    @Schema(name = "SystemSetting", description = "系统设置")
    public static class SystemSetting implements Serializable {

        @Serial
        private static final long serialVersionUID = 1L;

        @Schema(description = "ID")
        private Long id;

        @Schema(description = "变量名")
        private String name;

        @Schema(description = "变量值")
        private String value;

        @Schema(description = "描述")
        private String description;

        @Schema(description = "创建时间")
        private LocalDateTime createTime;

        @Schema(description = "更新时间")
        private LocalDateTime updateTime;

    }
}
